# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py3-pyramid
_pkgname=pyramid
pkgver=1.10.4
pkgrel=2
pkgdesc="The Pyramid Web Framework"
url="https://trypyramid.com/"
arch="noarch"
license="ZPL-2.1"
depends="py3-webob py3-venusian py3-chameleon py3-zope-component
	py3-zope-deprecation py3-zope-configuration py3-translationstring"
makedepends="py3-setuptools"
checkdepends="py3-nose py3-webtest py3-coverage py3-virtualenv"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir"/$_pkgname-$pkgver

replaces="py-pyramid" # Backwards compatibility
provides="py-pyramid=$pkver-r$pkgrel" # Backwards compatibility

build() {
	python3 setup.py build
}

check() {
	python3 setup.py test
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="24686ffccc7784eed8fbae1b0aeb2beb331b0403a4143f878eb0cfeacdd58d4ded7628edb784e01df6a230172ed0b3208f3b6e716983f1afc76796b66f742def  pyramid-1.10.4.tar.gz"
